package com.qst.crop.entity;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

/**
 * tb_comment
 * @author
 */
@Data
public class Comment implements Serializable {
    private Integer commentId;

    private Integer orderId;

    private String ownName;

    @NotBlank(message = "内容不能为空")
    private String content;

    private Date createTime;

    private static final long serialVersionUID = 1L;
}
